Release 10.1A: OpenEdge Development:
Programming Interfaces


Building an HLC executable

After designing the CALL statements, supporting C functions, and the PRODSP() dispatch routine for your application, you can build an HLC executable.

To build an HLC executable:

  1. On UNIX operating systems, set up your environment using the Progress BUILDENV utility. This command sets the search paths and options required with your compiler and linker to build Progress executables.
  2. Compile your copy of the hlprodsp.c source file that contains the HLC dispatch routine and the source files that contain your C functions. For more information, see the "Compiling C source files" section section.
  3. Use the OEBuild utility to generate a link script for your executable. The OEBuild utility allows you to do the following:
    • Select the OpenEdge product and configurable elements (including HLC) that you want to build into your executable.
    • Enter the filenames of your object files and hlprodsp.o in the dialog box that OEBuild displays. The OEBuild utility inserts the filenames in the link script it generates.
  4. Link your executable with the link script that OEBuild generates. This step produces your HLC executable.

For more information on building OpenEdge executables, see Building OpenEdge 4GL Executables at www.progress.com/products/documentation/start_openedge10/index.ssp.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095